/**
 * 
 */
package three_star_craft.uap;

import UserApplicationPart.UAP.UapPduNumber;

/**
 * @author w.antosiewic
 *
 */
public enum UapSigNo {
    UAP_CONNECTION_REQ(UapPduNumber.UAP_PDU_CONNECTION_REQ_VALUE,
                       "UapConnectionRequest"),
	UAP_CONNECTION_CFM(UapPduNumber.UAP_PDU_CONNECTION_CFM_VALUE,
	                   "UapConnectionConfirm"),
	UAP_CONNECTION_REJ(UapPduNumber.UAP_PDU_CONNECTION_REJ_VALUE,
	                   "UapConnectionReject"),
	UAP_CONNECTION_RELEASE_REQ(UapPduNumber.UAP_PDU_CONNECTION_RELEASE_REQ_VALUE,
	                           "UapConnectionReleaseRequest"),
	UAP_CONNECTION_RELEASE_CFM(UapPduNumber.UAP_PDU_CONNECTION_RELEASE_CFM_VALUE,
	                           "UapConnectionReleaseConfirm"),
	UAP_MEDIA_BEARER_SETUP_REQ(UapPduNumber.UAP_PDU_MEDIA_BEARER_SETUP_REQ_VALUE,
	                     "UapMediaBearerReq"),
	UAP_MEDIA_BEARER_SETUP_CFM(UapPduNumber.UAP_PDU_MEDIA_BEARER_SETUP_CFM_VALUE,
	                     "UapMediaBearerCfm"),
	UAP_MEDIA_BEARER_SETUP_REJ(UapPduNumber.UAP_PDU_MEDIA_BEARER_SETUP_REJ_VALUE,
	                     "UapMediaBearerRej"),
	
	//
	// base for timers is 0x100
	UAP_TIMER_WAIT_CONNECTION_CFM(UapConstants.UAP_TIMER_BASE + 1, "tWaitForUapConnCfm"),
	UAP_TIMER_WAIT_MEDIA_BEARER_CFM(UapConstants.UAP_TIMER_BASE + 2, "tWaitForMediaBearerCfm");
	
	UapSigNo(int value, String name)
	{
		this.value = value;
		this.name = name;
	}
	
	public String toString()
	{
		return "sig:"+value+":"+name;
	}
	
	public int value;
	public String name;
}
